package com.jsy.mini12306.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


/**
 * 列车型号(TrainPattern)实体类
 *
 * @author: SongyangJi
 * @since: 2021-09-01 22:56:35
 * @description:
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class TrainPattern implements Serializable {
    private static final long serialVersionUID = -65608214198639827L;
    /**
     * 列车型号id(自增)
     */
    @TableId(type = IdType.AUTO)
    private Integer trainPatternId;
    /**
     * 型号名（如 CRH5A 重联型）
     */
    private String trainPatternName;
    /**
     * 时速（km/h）
     */
    private Integer speed;
    /**
     * 定员
     */
    private Integer capacity;
    /**
     * 长度（m）
     */
    private Integer length;
    /**
     * 车厢数
     */
    private Integer binNum;


}
